package zhieasy.cn.model.common;


import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import lombok.Data;

@Data
@TableName("common_ad")
public class Ad {

    @TableId
    @ApiModelProperty("广告Id")
    private long id;

    @ApiModelProperty("广告图片url")
    private String imageUrl;

    @ApiModelProperty("广告标题")
    private String title;

    @ApiModelProperty("广告内容")
    private String context;

    @ApiModelProperty("广告跳转url")
    private String forwardUrl;

    @JsonIgnore
    private int type;

    @JsonIgnore
    private int isDelete;

    @JsonIgnore
    private long createTime;

    @JsonIgnore
    private long updateTime;

}
